﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArtGalleryApp.DataModels
{
    public class ArtPiece
    {
        public int Id { get; set; }
        public string ApplicationUserId { get; set; }
        public virtual ApplicationUser User { get; set; }
        public string Image { get; set; }
        public string Artist { get; set; }
        public string Name { get; set; }
        public void setProps(ArtPiece ap)
        {
            this.ApplicationUserId = ap.ApplicationUserId;
            //this.User = ap.User;
            this.Image = ap.Image;
            this.Artist = ap.Artist;
            this.Name = ap.Name;
        }
    }
}
